﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WFTpayInterface
{
    public partial class payCode : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                //支付成功后传Y值，自动跳转到主页
                if (Request.QueryString["success"]!=null)
                {
                    if (Request.QueryString["success"].ToString()!="Y")
                    {
                        Response.Redirect("index.aspx");
                    }
                }
            }
        }
    }
}